package com.itheima.service;

import com.itheima.domain.User;

import java.util.List;

public interface UserService {


    public abstract User findById(Integer id);


    public abstract List<User> findAll();

    Integer add(User u);


    List<User> findByIdOrName(Integer id, String name);

    Integer delete(Integer id);




}
